﻿using System;
using System.Text;
using System.Drawing;
using System.Buffers;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;

public static partial class glDRIVE
{
    /*
    余弦积分
    x：自变量值。
    返回余弦积分值。
    */

    public static string drive_coss()
    {
        int i;
        double x, y;
        StringBuilder sb = new StringBuilder();
        for (i = 0; i <= 9; i++)
        {
            x = 0.5 + i + i; y = gl.coss(x);
            sb.AppendLine("x=" + x + "    Ci(x)=" + y + "<br>");
        }
        return sb.ToString();
    }
}